﻿using System;

namespace HeadFirst._05.Singleton._02
{
    class Program
    {
        static void Main(string[] args)
        {
            ChocolateBoiler chocolateBoiler = new ChocolateBoiler();
            chocolateBoiler.Fill();
            chocolateBoiler.boil();
            chocolateBoiler.Drain();
            ChocolateBoilerSingleton chocolateBoilerSingleton =  ChocolateBoilerSingleton.GetInstance();
            chocolateBoilerSingleton.Fill();
            chocolateBoilerSingleton.boil();
            chocolateBoilerSingleton.Drain();

            Console.WriteLine("Hello World!");
        }
    }
}
